<?php
/**
 * Created by PhpStorm.
 * User: Celebration-Grey
 * Date: 2017/4/18
 * Time: 21:59
 */

Route::get('/weibo_getBowen','Bowen\BowenController@sBowen');
Route::get('/weibo_getComments','Bowen\CommentController@sComments');


Route::group(['middleware' => 'AccessToken'],function (){
    Route::post('/weibo_pubBowen','Bowen\BowenController@pubBowen');
    Route::post('/weibo_comBowen','Bowen\CommentController@comBowen');
    Route::post('/weibo_repComment','Bowen\ReplyController@repComment');

    Route::get('/weibo_likeBowen','Bowen\BowenController@likeBowen');
    Route::get('/weibo_likeComment','Bowen\CommentController@likeComment');
    Route::get('/weibo_likeReply','Bowen\ReplyController@likeReply');

    Route::post('/weibo_userBowen','Bowen\BowenController@getUserBowen');

    Route::get('/weibo_getAllBowen','Bowen\BowenController@getAllBowen');

    Route::post('/weibo_bowenPicUpload','Bowen\BowenController@bowenPicUpload');

    Route::post('/weibo_repost','Bowen\BowenController@repost');
});